\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[utf8]{inputenc} % allow utf-8 input
\usepackage[T1]{fontenc}    % use 8-bit T1 fonts
\usepackage[colorlinks=true,citecolor=blue]{hyperref} 
% \usepackage[colorlinks=true,linkcolor=blue]{hyperref}       % hyperlinks
\usepackage{url}            % simple URL typesetting
\usepackage{booktabs}       % professional-quality tables
\usepackage{amsfonts}       % blackboard math symbols
\usepackage{nicefrac}       % compact symbols for 1/2, etc.
\usepackage{microtype}      % microtypography
\usepackage{xcolor}         % colors
\usepackage{tikz}
\usepackage{wrapfig}

\usepackage{subcaption}
\usepackage{makecell}
\usepackage{multirow}
\usepackage{ragged2e}
\usetikzlibrary{external}
\title{test_compass}
\date{June 2022}

\begin{document}
\begin{figure}[!th]
\centering
\input{filled}
\label{fig:compass}
\end{figure}



\end{document}

